package com.beiyou.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author wzby
 * @Date: 2022/10/21 9:06
 */
@Data
@TableName("scm_goods")
public class GoodsEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String img;

    private Integer status = 1;
    @TableField("parentId")
    private Integer parentId;
    @TableField("seq")
    private Integer seq;
    @TableField("lastUpdateBy")
    private String lastUpdateBy;
    @TableField("lastUpdateTime")
    private LocalDateTime lastUpdateTime = LocalDateTime.now();
}
